<?php
	$etat = $controller->getEtat();
?>
	<form method="get" action="index.php">
		<label style="margin-right:1em;">Rechercher</label><input title="Entrer votre recherche ici" type="text" name="recherche" id="input_recherche" <?php if (isset($etat['recherche'])) echo 'value="' , $etat['recherche'], '"';?>/>
		<select name="page" title="Choisissez le type de recherche" >
			<option title="Encyclopedie" value="wikipedia" <?php if (isset($etat['page']) && $etat['page'] == 'wikipedia') echo 'selected="selected"';?> >Wikipedia</option>
			<option title="Acutalit&eacute;s" value="wikinews" <?php if (isset($etat['page']) && $etat['page'] == 'wikinews') echo 'selected="selected"';?> >Wikinews</option>
			<option title="Dictionnaire" value="wiktionnary" <?php if (isset($etat['page']) && $etat['page'] == 'wiktionnary') echo 'selected="selected"';?> >Wiktionnary</option>
		</select>
		<input type="submit" value="rechercher" title="Valider votre recherche" />
	</form>
	